[INFO] fetching crate monitor-control-win 0.1.1...
[INFO] building monitor-control-win-0.1.1 against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] extracting crate monitor-control-win 0.1.1 into /workspace/builds/worker-0/source
[INFO] validating manifest of crates.io crate monitor-control-win 0.1.1 on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate monitor-control-win 0.1.1
[INFO] finished tweaking crates.io crate monitor-control-win 0.1.1
[INFO] tweaked toml for crates.io crate monitor-control-win 0.1.1 written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 071b2f2a21020502f5ec98a55f9532b64cc74577829110307bbfc6ebb7715fec
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "071b2f2a21020502f5ec98a55f9532b64cc74577829110307bbfc6ebb7715fec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "071b2f2a21020502f5ec98a55f9532b64cc74577829110307bbfc6ebb7715fec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "071b2f2a21020502f5ec98a55f9532b64cc74577829110307bbfc6ebb7715fec", kill_on_drop: false }`
[INFO] [stdout] 071b2f2a21020502f5ec98a55f9532b64cc74577829110307bbfc6ebb7715fec
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1a831592ecd93172e421114cb16e8dd31bbaba9fd6b1c5d850476d1e59236788
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "1a831592ecd93172e421114cb16e8dd31bbaba9fd6b1c5d850476d1e59236788", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling proc-macro2 v1.0.27
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling utfx v0.1.0
[INFO] [stderr]    Compiling tracing-core v0.1.18
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling syn v1.0.72
[INFO] [stderr]    Compiling thiserror-impl v1.0.25
[INFO] [stderr]    Compiling tracing-attributes v0.1.15
[INFO] [stderr]    Compiling thiserror v1.0.25
[INFO] [stderr]    Compiling registry v1.1.1
[INFO] [stderr]    Compiling tracing v0.1.26
[INFO] [stderr]    Compiling monitor-control-win v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/lib.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     shared::{
[INFO] [stdout]    |     ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/lib.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     um::{
[INFO] [stdout]    |     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `registry::Hive`, `registry::RegKey`, `registry::Security`
[INFO] [stdout]  --> src/lib.rs:5:16
[INFO] [stdout]   |
[INFO] [stdout] 5 | use registry::{Hive, RegKey, Security};
[INFO] [stdout]   |                ^^^^  ^^^^^^  ^^^^^^^^ no `Security` in the root
[INFO] [stdout]   |                |     |
[INFO] [stdout]   |                |     no `RegKey` in the root
[INFO] [stdout]   |                no `Hive` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BOOL`
[INFO] [stdout]    --> src/lib.rs:132:13
[INFO] [stdout]     |
[INFO] [stdout] 132 |             BOOL::from(true) // continue enumerating
[INFO] [stdout]     |             ^^^^ use of undeclared type `BOOL`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `value` in `registry`
[INFO] [stdout]    --> src/lib.rs:186:23
[INFO] [stdout]     |
[INFO] [stdout] 186 |             registry::value::Data::Binary(bytes) => bytes,
[INFO] [stdout]     |                       ^^^^^ could not find `value` in `registry`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `key` in `registry`
[INFO] [stdout]    --> src/lib.rs:207:74
[INFO] [stdout]     |
[INFO] [stdout] 207 |     fn driver_key(driver_id: &str) -> Result<registry::RegKey, registry::key::Error> {
[INFO] [stdout]     |                                                                          ^^^ could not find `key` in `registry`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `key` in `registry`
[INFO] [stdout]    --> src/lib.rs:248:27
[INFO] [stdout]     |
[INFO] [stdout] 248 |     Key(#[from] registry::key::Error),
[INFO] [stdout]     |                           ^^^ could not find `key` in `registry`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `value` in `registry`
[INFO] [stdout]    --> src/lib.rs:250:29
[INFO] [stdout]     |
[INFO] [stdout] 250 |     Value(#[from] registry::value::Error),
[INFO] [stdout]     |                             ^^^^^ could not find `value` in `registry`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `iter` in `registry`
[INFO] [stdout]    --> src/lib.rs:252:31
[INFO] [stdout]     |
[INFO] [stdout] 252 |     KeyIter(#[from] registry::iter::keys::Error),
[INFO] [stdout]     |                               ^^^^ could not find `iter` in `registry`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/lib.rs:90:33
[INFO] [stdout]    |
[INFO] [stdout] 90 |     pub fn intersecting(window: HWND) -> Result<Vec<Self>, MonitorError> {
[INFO] [stdout]    |                                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowDC` in this scope
[INFO] [stdout]   --> src/lib.rs:93:28
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let hdc = unsafe { GetWindowDC(window) };
[INFO] [stdout]    |                            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HMONITOR` in this scope
[INFO] [stdout]    --> src/lib.rs:100:34
[INFO] [stdout]     |
[INFO] [stdout] 100 |         extern "system" fn cb(h: HMONITOR, _ctx: HDC, _rect: *mut RECT, list_ptr: LPARAM) -> BOOL {
[INFO] [stdout]     |                                  ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HDC` in this scope
[INFO] [stdout]    --> src/lib.rs:100:50
[INFO] [stdout]     |
[INFO] [stdout] 100 |         extern "system" fn cb(h: HMONITOR, _ctx: HDC, _rect: *mut RECT, list_ptr: LPARAM) -> BOOL {
[INFO] [stdout]     |                                                  ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stdout]    --> src/lib.rs:100:67
[INFO] [stdout]     |
[INFO] [stdout] 100 |         extern "system" fn cb(h: HMONITOR, _ctx: HDC, _rect: *mut RECT, list_ptr: LPARAM) -> BOOL {
[INFO] [stdout]     |                                                                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stdout]    --> src/lib.rs:100:83
[INFO] [stdout]     |
[INFO] [stdout] 100 |         extern "system" fn cb(h: HMONITOR, _ctx: HDC, _rect: *mut RECT, list_ptr: LPARAM) -> BOOL {
[INFO] [stdout]     |                                                                                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope
[INFO] [stdout]    --> src/lib.rs:100:94
[INFO] [stdout]     |
[INFO] [stdout] 100 |         extern "system" fn cb(h: HMONITOR, _ctx: HDC, _rect: *mut RECT, list_ptr: LPARAM) -> BOOL {
[INFO] [stdout]     |                                                                                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MONITORINFOEXW` in this scope
[INFO] [stdout]    --> src/lib.rs:101:28
[INFO] [stdout]     |
[INFO] [stdout] 101 |             let mut info = MONITORINFOEXW {
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MONITORINFOEXW` in this scope
[INFO] [stdout]    --> src/lib.rs:102:40
[INFO] [stdout]     |
[INFO] [stdout] 100 |         extern "system" fn cb(h: HMONITOR, _ctx: HDC, _rect: *mut RECT, list_ptr: LPARAM) -> BOOL {
[INFO] [stdout]     |                              - help: you might be missing a type parameter: `<MONITORINFOEXW>`
[INFO] [stdout] 101 |             let mut info = MONITORINFOEXW {
[INFO] [stdout] 102 |                 cbSize: mem::size_of::<MONITORINFOEXW>() as u32,
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMonitorInfoW` in this scope
[INFO] [stdout]    --> src/lib.rs:106:17
[INFO] [stdout]     |
[INFO] [stdout] 106 |                 GetMonitorInfoW(h, &mut info as *mut MONITORINFOEXW as *mut MONITORINFO);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MONITORINFOEXW` in this scope
[INFO] [stdout]    --> src/lib.rs:106:54
[INFO] [stdout]     |
[INFO] [stdout] 106 |                 GetMonitorInfoW(h, &mut info as *mut MONITORINFOEXW as *mut MONITORINFO);
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MONITORINFO` in this scope
[INFO] [stdout]    --> src/lib.rs:106:77
[INFO] [stdout]     |
[INFO] [stdout] 106 |                 GetMonitorInfoW(h, &mut info as *mut MONITORINFOEXW as *mut MONITORINFO);
[INFO] [stdout]     |                                                                             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `DISPLAY_DEVICEW` in this scope
[INFO] [stdout]    --> src/lib.rs:109:38
[INFO] [stdout]     |
[INFO] [stdout] 109 |             let mut interface_name = DISPLAY_DEVICEW {
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DISPLAY_DEVICEW` in this scope
[INFO] [stdout]    --> src/lib.rs:110:36
[INFO] [stdout]     |
[INFO] [stdout] 100 |         extern "system" fn cb(h: HMONITOR, _ctx: HDC, _rect: *mut RECT, list_ptr: LPARAM) -> BOOL {
[INFO] [stdout]     |                              - help: you might be missing a type parameter: `<DISPLAY_DEVICEW>`
[INFO] [stdout] ...
[INFO] [stdout] 110 |                 cb: mem::size_of::<DISPLAY_DEVICEW>() as u32,
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumDisplayDevicesW` in this scope
[INFO] [stdout]    --> src/lib.rs:114:17
[INFO] [stdout]     |
[INFO] [stdout] 114 |                 EnumDisplayDevicesW(
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EDD_GET_DEVICE_INTERFACE_NAME` in this scope
[INFO] [stdout]    --> src/lib.rs:118:21
[INFO] [stdout]     |
[INFO] [stdout] 118 |                     EDD_GET_DEVICE_INTERFACE_NAME,
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPARAM` in this scope
[INFO] [stdout]    --> src/lib.rs:136:60
[INFO] [stdout]     |
[INFO] [stdout] 136 |         let monitors_ptr = &mut monitors as *mut Vec<_> as LPARAM;
[INFO] [stdout]     |                                                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `EnumDisplayMonitors` in this scope
[INFO] [stdout]    --> src/lib.rs:138:13
[INFO] [stdout]     |
[INFO] [stdout] 138 |             EnumDisplayMonitors(ptr::null_mut(), ptr::null_mut(), Some(cb), monitors_ptr);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RegKey` in crate `registry`
[INFO] [stdout]    --> src/lib.rs:207:56
[INFO] [stdout]     |
[INFO] [stdout] 207 |     fn driver_key(driver_id: &str) -> Result<registry::RegKey, registry::key::Error> {
[INFO] [stdout]     |                                                        ^^^^^^ not found in `registry`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope
[INFO] [stdout]    --> src/lib.rs:272:29
[INFO] [stdout]     |
[INFO] [stdout] 272 |         let code = unsafe { GetLastError() };
[INFO] [stdout]     |                             ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 29 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `monitor-control-win`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "1a831592ecd93172e421114cb16e8dd31bbaba9fd6b1c5d850476d1e59236788", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1a831592ecd93172e421114cb16e8dd31bbaba9fd6b1c5d850476d1e59236788", kill_on_drop: false }`
[INFO] [stdout] 1a831592ecd93172e421114cb16e8dd31bbaba9fd6b1c5d850476d1e59236788
